package com.ruoyi.project.domain.query;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.base.Query;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;
import java.util.List;

@Data
public class ProjectQuery extends Query {

    /** 项目名称 */
    private String projectName;

    /** 项目金额 */
    private Long projectAmount;

    /** 项目最小金额 */
    private Long minProjectAmount;

    /** 项目最大金额 */
    private Long maxProjectAmount;

    private String projectNo;



    /** 项目类型 */
    private String projectType;

    /** 客户名称 */
    private String customerName;

    /** 管家婆项目 */
    private String housekeeperName;

    /** 当前阶段 */
    private String phaseCode;


    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate beginAcceptTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate endAcceptTime;

    /** 用户id */
    private Long userId;

    /** 项目id */
   private List<String> projectList;

    /** 阶段状态 */
    private String status;

    /** 阶段id */
    private String phaseId;

    private Integer year;


    //1取缓存 2重新计算
    private String refresh = "1";

    //绩效是否全部发放完成  1否2是
    private String finish;


    //
    private Integer allYear = 0;

    private Long saleRole;

    private String first;

    private Integer stage;

    private String keyWords;

    private String saleProject;



}
